#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
    int a = 0;
    int b = 0;
    int arr[10];
    for (int i = 0; i < 10; i++)
        scanf("%d", &arr[i]);
    {
        for (int i = 0; i < 10; i++)
        {
            int c = arr[i];
            if (arr[i] > 0)
                a++;
            else if (arr[i] < 0)
                b++;
        }
    }
    printf("positive:%d\n", a);
    printf("negative:%d", b);
    return 0;
}